<!DOCTYPE html>
<html lang="en">
<head>
	<{include file="header.html"}>
	<title>网校管理-<{$user_data['school_name']}>-德安信会计在线教育平台</title>
</head>
<body>
<div class="wrap">
	<!--star left-->
	<div class="column">
		<{include file="left_menu.html"}>
	</div>
	<div id="ContMianBox">
		<!--star子栏目-->
			<{include file="left_menu_min.html"}>
		<!--end子栏目-->
		<!--end left-->
		<div class="container narrow">
		    <!--star conter-->
		    <div class="cetContent">
				<div class="tit p-lr20">
				    <span><a href="/school">导航设置</a></span>
                    <!-- <span><a href="/school/info">基本资料</a></span> -->
                    <span class="curr"><a href="/school/modulars">首页模块设置</a></span>
                    <span><a href="/advertising">网校Banner</a></span>
                    <span><a href="/school_page">网校页面</a></span>
                    <span><a href="/school/wx_pay_config">微信支付设置</a></span>
				</div>
				<!--star内容区域-->
				
				<div class="mainScroll">
				    <div class="mainContainer line-all">
				        <form class="layui-form layui-form-pane" method="post" action="/school/modulars">
				        	<{foreach from=$modulars_list item=type_data key=type}>
				        	<fieldset class="layui-elem-field" style="padding-top:20px;">
				        	<legend><{if $type ==1}>PC<{else}>WAP<{/if}>模块设置</legend>
				        	<input type="hidden" value="0" name="del"/>
				        	
				        		<{foreach from=$type_data item=item key=key name=loop}>
				        		<div class="layui-inline">
							  		<div style="width:100%; float:left; padding-bottom:18px;">
								  		<div class="layui-input-block">
									  	<input type="checkbox" title="<{$item.name}>" name="modular[]" <{if empty($item.nid) }>checked=""<{/if}> value="<{$item.id}>"">
									  	</div>
								  	</div>
							  	</div>
							  	<{/foreach}>
						  	</fieldset>
							<{/foreach}>
							<div class="layui-input-block">
								<button class="layui-btn" lay-submit lay-filter="*">保存</button>
							</div>
				        </form>
			        </div>
			    </div>
			</div>
					<!--end内容区域-->
		    <!--end conter-->
		</div>
	</div>
</div>
<{include file="footer.html"}>
</body>
</html>
